Arch Rock IP/6LoWPAN Software Distribution (ASD)
1.0.1 (Build 18045)
Atmel RZ Raven
May 21st, 2008
(Please go to http://support.archrock.com/asd for the latest update)
The release contains an evaluation copy of the Arch Rock IP/6LoWPAN software distribution (ASD) for the Atmega1284p processor and Atmel RF230 802.15.4 radio chip. The distribution contains a set of APIs that allows developers to create software to enable connectivity between embedded devices and a PC over an IP mesh network when used in conjunction with the Arch Rock 6LoWPAN Windows service.
To fully demonstrate the power of IP based protocols, this release also contains sample applications built with the Arch Rock 6LoWPAN kernel library for the AVRRAVEN boards; it also contains an evaluation copy of the Arch Rock 6LoWPAN Windows Service and an image for the AVRRZUSBSTICK.
To expedite the learning process, a complete tutorial of the ASD is also included with this release. The tutorial consists of a series of programming examples of increasing complexity and HTML documentation.
Users can use the evaluation version of the Arch Rock 6LoWPAN Windows Service and the AVRRZUSBSTICK together with embedded applications developed with the ASD to build fully functional 6LoWPAN applications.
This document is organized into the following sections:
Note: Users can jump directly to section 3 and begin running the pre-built sample applications without any setup in section 2.
Note: Users who are interested in the tutorial documentation can look at projects\doc\doc_main.html
Note: Arch Rock encourages you to check out support site at: http://support.archrock.com/asd immediately for updates, bug fixes, and additional sample applications
6LoWPAN Kernel Library footprint:
Program Flash memory: 36.7kB
Data memory (System + Network): 3.8kB
Network memory buffer: 2.4kB (tunable)
The following software packages are required:
Depending on your version of WinAVR, there may be bugs in its 1284p header file. If you encounter compilation errors while building sample 1284p applications out of the box, please try using 1284patch\iom1284p.h
The following sections assume that the prerequisite software described in section 2.1 has been met.
We have provided the source code and project file for the sample application "shell". As an example we will guide you through building the shell project.
Launch AVR studio. If prompted, select your programmer under Debug platform. The shell project is build for the Atmega1284P; consequently we select Atmega1284P under Device.

In AVR Studio Project Wizard, or in the Project menu select open project and browse to projects\shell, select shell.aps and click Open

When you try to load the shell project file in AVR studio for the first time, AVR studio may notify you of an error in locating a particular source file. If that is the case, simply deleted the source file in the project browser and add it again (see example below)
Expand the Source Files explorer to see the missing file.

Delete the missing source file from the project and add it again from project\libc

When all the source files are found, go to Project->Configuration Options
Under General tab,

Under Include Directories,
For example, if you copy the CD to c:\, then add "c:\Arch Rock\include" and "c:\Arch Rock\projects\include\"

Under Libraries,

Press OK.
Build the project by pressing Build -> Build or F7
The output file is located at the Output File Directory, as specified under the General tab in Project->Configuration Options
The output file, shell.ihex, can be loaded onto an Atmega1284P. For details on flashing and running the shell demo, see docs\QuickStart\QUICKSTART.htm

Go to Project->Configuration Options
Under General tab,

Under Include Directories,
For example, if you copy the CD to c:\, then add "c:\Arch Rock \include" and "c:\Arch Rock\projects\include"

Under Libraries,

Press OK.
Add source or header files by right clicking on source/header files in the project explorer and choose the appropriate action.

Build the project by pressing Build -> Build or F7
The output file is located at the Output File Directory, as specified under the General tab in Project->Configuration Options
We have included sample binaries for the AVRRAVEN boards that demonstrate the capabilities of the Arch Rock 6LoWPAN Kernel. The sample binaries are meant to be used in conjunction with the Arch Rock 6LoWPAN Windows Service and the AVRRZUSBSTICK (see section 4 below).
Currently we provide one sample application:
For details on flashing and running the sample applications, see docs\QuickStart\QUICKSTART.htm
An evaluation version of the Arch Rock 6LoWPAN Windows Service is included. It allows users to manage an Arch Rock 6LoWPAN network via a simple Web GUI. It also allows PC applications to communicate with embedded ASD applications in the 6LoWPAN network using standard network protocols such as TCP and UDP.
Users can use the evaluation version of the Arch Rock 6LoWPAN Windows Service and the AVRRZUSBSTICK together with embedded applications developed with the ASD to build functional 6LoWPAN applications.
For a guide on how to setup and run the Arch Rock 6LoWPAN Windows Service, go to docs\UsbStick\AVRRZUSBSTICK_SETUP_GUIDE.htm
The distribution contains the following files:
· a 1-page technical datasheet for the Arch Rock software distribution
docs\Kernel\Reference_Manual\html\index.html
docs\Kernel\Reference_Manual\refman.pdf
docs\QuickStart\QUICKSTART.htm
docs\UsbStick\AVRRZUSBSTICK_SETUP_GUIDE.htm
Please visit http://support.archrock.com/asd for technical support and updates.